﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceInfrastructure.Models.NewsModels.Models;

namespace ServiceInfrastructure.Models.NewsModels.FilterModels
{
    [DataContract]
    public class NewsFilterModel
    {
        [DataMember(Order = 1)]
        public DateTime? LowPublishDate { get; set; }
        
        [DataMember(Order = 2)]
        public DateTime? HighPublishDate { get; set; }
        
        [DataMember(Order = 3)]
        public string BaseUri { get; set; }

        [DataMember(Order = 4)]
        public string Title { get; set; }

        [DataMember(Order = 5)]
        public string Summary { get; set; }

        [DataMember(Order = 6)]
        public IEnumerable<Person> ExcludedAuthors { get; set; }
        
        [DataMember(Order = 7)]
        public IEnumerable<Person> ExcludedContributors { get; set; }
        
        [DataMember(Order = 8)]
        public IEnumerable<Category> ExcludedeCategory { get; set; }
        
    }
}
